package com.wbcs.system.component.application.report.abstractreport;

import java.sql.SQLException;
import java.util.List;

import com.wbcs.config.component.application.report.ColBean;
import com.wbcs.system.buttons.AbsButtonType;
import com.wbcs.system.component.application.report.configbean.editablereport.EditActionGroupBean;

public interface IEditableReportType
{
    public int IS_ADD_DATA=1;
    
    public int IS_UPDATE_DATA=2;
    
    public int IS_ADD_UPDATE_DATA=3;
    
    public int IS_DELETE_DATA=4;
    
    public boolean needCertainTypeButton(AbsButtonType buttonType);

    public String getDefaultAccessMode();

    public String getRealAccessMode();
    
    public String getColOriginalValue(Object object,ColBean cbean);

    public int[] doSaveAction() throws SQLException;
    
    public void setNewAccessMode(String newaccessmode);

    public void collectEditActionGroupBeans(List<EditActionGroupBean> lstAllEditActionGroupBeans);
}
